package com.example.vaccine.service;

import com.example.vaccine.VO.PageVO;
import com.example.vaccine.entity.VaccineFeedback;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Coisn
 * @since 2025-06-12
 */
public interface VaccineFeedbackService extends IService<VaccineFeedback> {
    PageVO getFeedbacksByTimeRange(String timeRange, Integer pageNum, Integer pageSize);

    List<VaccineFeedback> listFeedbacksForExport(String timeRange, String search);

    List<VaccineFeedback> listByDoctorId(Integer doctorId);

    boolean existsByDoctorIdAndVaccineNumbering(Integer doctorId, String vaccineNumbering);

    boolean save(VaccineFeedback feedback);

}
